package com.hmall.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hmall.common.dto.PageDTO;
import com.hmall.item.pojo.Item;
import org.springframework.transaction.annotation.Transactional;

import java.io.IOException;

@Transactional
public interface ItemService extends IService<Item> {

    PageDTO<Item> Page(Integer page, Integer size);

    Item findById(Long id);

    void add(Item item);

    void status(Long id);

    void status1(Long id);

    void delete(Long id);


}
